package com.wisdytech.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Gemini
 * com.wisdytech.cloud.service.FeignService
 *
 * @author hailin.zhl
 * @date 2018/10/23
 */
@FeignClient(value = "service-hi")
public interface FeignService {

    @RequestMapping(value = "/hi",method = RequestMethod.GET)
    String sayHiFromClientOne(@RequestParam(value = "name") String name);
}
